FROM docker.m.daocloud.io/openjdk:8u212-alpine
ENV TZ=Asia/Shanghai
ENV JAVA_OPTS="-Duser.timezone=Asia/Shanghai -Djava.security.egd=file:/dev/./urandom"
ADD target/happy-api.jar /happy-api.jar
EXPOSE 8080
CMD java $JAVA_OPTS -jar /happy-api.jar